# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Um)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Um_SRCS umplugin.cpp um.cpp)
QT4_WRAP_CPP(Um_SRCS umplugin.h um.h)
QT4_WRAP_UI(Um_SRCS um.ui)
QT4_ADD_RESOURCES(Um_SRCS um.qrc)

add_library(Um SHARED ${Um_SRCS})
add_dependencies(Um KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Um KontAMabil ${QT_LIBRARIES})

install(TARGETS Um ${INSTALL_PLUGINS_DEFAULT_ARGS})
